package com.rmfyzxfw.caseprocess.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @description:
 * @Author: GYW  742926306@qq.com
 * @Date: 2024/9/1 17:11
 */
@Data
public class ProcessStatusVO {
    @ApiModelProperty(value ="流程id")
    private String processId;
    @ApiModelProperty(value ="流程名称")
    private String processName;
    @ApiModelProperty(value ="流程数据id")
    private String processDataId;
    @ApiModelProperty(value ="流程节点状态")
    private List<ProcessNodeStatus> processNodeStatusList;

    @Data
    public static class ProcessNodeStatus{
        @ApiModelProperty(value ="流程节点id")
        private String processNodeId;
        @ApiModelProperty(value ="流程节点名称")
        private String processNodeName;
        /**
         * 0 否 1 是
         */
        @ApiModelProperty(value ="点亮状态 0 否 1 是")
        private Integer light;
        @ApiModelProperty(value ="数据节点状态")
        private List<DataNodeStatus> dataNodeStatusList;
    }

    @Data
    public static class DataNodeStatus{
        @ApiModelProperty(value ="数据节点id")
        private String dataNodeId;
        @ApiModelProperty(value ="数据节点名称")
        private String dataNodeName;
        /**
         * 0 否 1 是
         */
        @ApiModelProperty(value ="点亮状态 0 否 1 是")
        private Integer light;
        @ApiModelProperty(value ="颜色 为空表示默认色")
        private String color;
    }
}